package cn.me.fdfs.vo;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * Created with IntelliJ IDEA. User: wanglt Date: 12-8-30 Time: 下午3:57 To change this template use
 * File | Settings | File Templates.
 */
@Entity
@Table(name = "tbuser")
public class User implements Serializable {
  private String id;
  private String name;
  private String psword;
  private String power;

  public User() {
    super();
  }

  @Id
  @GeneratedValue(generator = "system_uuid")
  @GenericGenerator(name = "system_uuid", strategy = "uuid")
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPsword() {
    return psword;
  }

  public void setPsword(String psword) {
    this.psword = psword;
  }

  public String getPower() {
    return power;
  }

  public void setPower(String power) {
    this.power = power;
  }
}
